Randomized Quicksort and the Entropy of the Random Number Generator

نویسندگان

  • Beatrice List
  • Markus Maucher
  • Uwe Schöning
  • Rainer Schuler
چکیده

The worst-case complexity of an implementation of Quicksort depends on the random number generator that is used to select the pivot elements. In this paper we estimate the expected number of comparisons of Quicksort as a function in the entropy of the random source. We give upper and lower bounds and show that the expected number of comparisons increases from n log n to n, if the entropy of the random source is bounded. As examples we show explicit bounds for distributions with bounded min-entropy, the geometrical distribution and the δ-random source.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Randomized Quicksort and the Entropy of the Random Source

The worst-case complexity of an implementation of Quicksort depends on the random number generator that is used to select the pivot elements. In this paper we estimate the expected number of comparisons of Quicksort as a function in the entropy of the random source. We give upper and lower bounds and show that the expected number of comparisons increases from n logn to n, if the entropy of the ...

متن کامل

A Noble Randomized Quicksort with a Random Number Generator

Sorting is a well-known computational problem. Sorting means arranging a set of records (or a list of keys) in some (increasing or decreasing) order. Randomized algorithms often have low complexity and are associated to robustness bounds, which are generally less conservative than the classical ones. This paper presents a noble randomized Quicksort with a random number generator. This randomize...

متن کامل

Top-down Randomization of Weighted Search Trees

Aragon and Seidel 1] presented a solution of the dictionary problem which became very popular in the last years. Their algorithm is easy to implement and fast in practice. The main idea consists in simulating a random input by randomly generated priorities assigned to each key. But this method has two substantial drawbacks. The rst one is the large dependence of the performance and correctness ...

متن کامل

Quicksort, Largest Bucket, and Min-Wise Hashing with Limited Independence

Randomized algorithms and data structures are often analyzed under the assumption of access to a perfect source of randomness. The most fundamental metric used to measure how “random” a hash function or a random number generator is, is its independence: a sequence of random variables is said to be k-independent if every variable is uniform and every size k subset is independent. In this paper w...

متن کامل

The concept of logic entropy on D-posets

In this paper, a new invariant called {it logic entropy} for dynamical systems on a D-poset is introduced. Also, the {it conditional logical entropy} is defined and then some of its properties are studied.  The invariance of the {it logic entropy} of a system  under isomorphism is proved. At the end,  the notion of an $ m $-generator of a dynamical system is introduced and a version of the Kolm...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Electronic Colloquium on Computational Complexity (ECCC)

دوره   شماره 

صفحات  -

تاریخ انتشار 2004